package com.lpwa.system.domain;


import com.lpwa.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 区域表 sys_area
 * 
 * @author tanmu
 * @date 2019-08-09
 */
public class Area extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 区域ID */
	private Long areaId;
	/** 区域名称 */
	private String areaName;
	/** 规则 */
	private String rule;
	/** 规则触发持续时间 */
	private Integer ruleTime;
	/** 关联人员 */
	private String associationPerson;
	/** 关联组织 */
	private String associationDept;
	/** 关联组织名称 */
	private String associationDeptName;
	/** 启动选项(1启动0不启动) */
	private String isStart;
	/** 绘制方式 */
	private String drawWay;
	/** 绘制点数据 */
	private String pointData;
	/** 颜色 */
	private String color;

	public String getAssociationDeptName() {
		return associationDeptName;
	}

	public void setAssociationDeptName(String associationDeptName) {
		this.associationDeptName = associationDeptName;
	}

	public void setAreaId(Long areaId)
	{
		this.areaId = areaId;
	}

	public Long getAreaId() 
	{
		return areaId;
	}
	public void setAreaName(String areaName) 
	{
		this.areaName = areaName;
	}

	public String getAreaName() 
	{
		return areaName;
	}
	public void setRule(String rule) 
	{
		this.rule = rule;
	}

	public String getRule() 
	{
		return rule;
	}
	public void setRuleTime(Integer ruleTime) 
	{
		this.ruleTime = ruleTime;
	}

	public Integer getRuleTime() 
	{
		return ruleTime;
	}
	public void setAssociationPerson(String associationPerson) 
	{
		this.associationPerson = associationPerson;
	}

	public String getAssociationPerson() 
	{
		return associationPerson;
	}
	public void setAssociationDept(String associationDept) 
	{
		this.associationDept = associationDept;
	}

	public String getAssociationDept() 
	{
		return associationDept;
	}
	public void setIsStart(String isStart) 
	{
		this.isStart = isStart;
	}

	public String getIsStart() 
	{
		return isStart;
	}
	public void setDrawWay(String drawWay) 
	{
		this.drawWay = drawWay;
	}

	public String getDrawWay() 
	{
		return drawWay;
	}
	public void setPointData(String pointData) 
	{
		this.pointData = pointData;
	}

	public String getPointData() 
	{
		return pointData;
	}
	public void setColor(String color) 
	{
		this.color = color;
	}

	public String getColor() 
	{
		return color;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("areaId", getAreaId())
            .append("areaName", getAreaName())
            .append("rule", getRule())
            .append("ruleTime", getRuleTime())
            .append("associationPerson", getAssociationPerson())
            .append("associationDept", getAssociationDept())
            .append("isStart", getIsStart())
            .append("drawWay", getDrawWay())
            .append("pointData", getPointData())
            .append("color", getColor())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
